package com.gxl.service.impl;

import java.io.IOException;
import java.io.InputStream;

import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;

import com.gxl.common.Constants;
import com.gxl.mapper.AccountMapper;
import com.gxl.mapper.TransferLogMapper;
import com.gxl.mapper.UsersMapper;
import com.gxl.pojo.Account;
import com.gxl.pojo.TransferLog;
import com.gxl.pojo.Users;
import com.gxl.service.AccountService;
import com.gxl.service.TransferLogService;
import com.gxl.util.MyBatisUtil;

public class TransferLogServiceImpl implements TransferLogService {

	@Override
	public int insTransferLog(TransferLog t1) throws IOException {
		SqlSession sqlSession = MyBatisUtil.getSqlSession();
		TransferLogMapper mapper = sqlSession.getMapper(TransferLogMapper.class);
		int logint = mapper.insTransferLog(t1);
		return logint;
	}

	

	
}
